package cn.hh.wechatkit.pojo.message.imp.event.ticket;


import cn.hh.wechatkit.pojo.message.Wx_EventTypeEnum;
import cn.hh.wechatkit.pojo.message.imp.Wx_BaseMsg;
import cn.hh.wechatkit.pojo.message.imp.event.Wx_IEventMsg;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Map;

/**
 * Created this one by HMH on 2017/5/6.
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor

public class Wx_TicketConsumeEventMsg extends Wx_IEventMsg {

    private String cardId;
    private String userCardCode;
    private String consumeSource;
    private String locationNam;
    private String staffOpenId;
    private String verifyCode;
    private String remarkAmount;
    private String outerStr;

    public Wx_TicketConsumeEventMsg(Map<String, String> map) {
        super(map);
        this.cardId = map.getOrDefault("CardId", "");
        this.cardId = map.getOrDefault("UserCardCode", "");
        this.cardId = map.getOrDefault("ConsumeSource", "");
        this.cardId = map.getOrDefault("LocationName", "");
        this.cardId = map.getOrDefault("StaffOpenId", "");
        this.cardId = map.getOrDefault("VerifyCode", "");
        this.cardId = map.getOrDefault("RemarkAmount", "");
        this.cardId = map.getOrDefault("OuterStr", "");

    }

    @Override
    public String MsgToXml() {
        return "";
    }




}
